package main

import (
	"core/api"
	"core/gateway"
	"core/heartbeat"
	"core/runner"
)

func main() {
	bus := make(chan interface{})
	go api.API(bus)
	go runner.Runner(bus)

	go gateway.Gateway()

	go heartbeat.Heartbeat()
	select {}
}
